//
//  XMRechargeCountViewController.m
//  XunMi
//
//  Created by MacBook on 2024/2/29.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import "XMRechargeCountViewController.h"

@interface XMRechargeCountViewController () <UITextFieldDelegate>
@property (weak, nonatomic) IBOutlet UITextField *textField;

@end

@implementation XMRechargeCountViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navView.backgroundColor = kHEX(@"#F2F2F2");
    self.view.backgroundColor = kHEX(@"#F2F2F2");
    
    [self.navLeft2Btn setTitle:@"充值设置" forState:UIControlStateNormal];
    
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [[IQKeyboardManager sharedManager] setEnable:YES];
}

- (void)viewWillDisappear:(BOOL)animated {
    [super viewWillDisappear:animated];
    [[IQKeyboardManager sharedManager] setEnable:NO];
}


- (IBAction)save:(UIButton *)sender {
}

- (BOOL)textFieldShouldReturn:(UITextField *)textField {
    return [textField resignFirstResponder];
}
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.view endEditing:YES];
}

@end
